package com.zky.org.mapper;

import com.zky.org.domain.Shop;
import com.zky.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2023-02-04
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop findByNameAndAddress(@Param("name")String name,@Param("address")String address);

    void updateState( @Param("shopId") Long shopId ,@Param("state")int state);
}
